Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugin): Introduce plugin support for document conversion #772

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ayoub-ibm
Copy link

This change enables users to extend the document conversion process with custom logic through plugins.

  • Introduced a PluginManager to handle preprocessing and postprocessing plugins in DocumentConverter.
  • Updated DocumentConverter to accept and initialize a list of plugins.
  • Implemented plugin execution within the document processing pipeline, enabling custom modifications before and after conversion.
  • Updated ConversionResult to include metadata about the plugins used during conversion.
  • Updated the CLI to accept plugin paths and load them dynamically.
  • Expanded documentation with examples for creating and using plugins.
  • Added test cases to verify plugin integration and ensure correct execution in various scenarios.

Checklist:

  • Documentation has been updated.
  • Examples have been added.
  • Tests have been added.

This change enables users to extend the document conversion process with custom logic through plugins.

- Introduced a PluginManager to handle preprocessing and postprocessing plugins in DocumentConverter.
- Updated DocumentConverter to accept and initialize a list of plugins.
- Implemented plugin execution within the document processing pipeline, enabling custom modifications before and after conversion.
- Updated ConversionResult to include metadata about the plugins used during conversion.
- Updated the CLI to accept plugin paths and load them dynamically.
- Expanded documentation with examples for creating and using plugins.
- Added test cases to verify plugin integration and ensure correct execution in various scenarios.
Copy link

mergify bot commented Jan 18, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant